package com.sky.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ejlchina.searcher.bean.SearchBean;
import com.sky.domain.BaseEntity;
import lombok.*;

import java.io.Serializable;

/**
 * 菜品口味
 */
@Data
@EqualsAndHashCode(callSuper = true)
@SearchBean(tables = "dish_flavor d", where = "d.del_flag = '0'")
@TableName("dish_flavor")
public class DishFlavor extends BaseEntity {

    @TableId(value = "id",type = IdType.AUTO)
    private Long id;
    //菜品id
    private Long dishId;

    //口味名称
    private String name;

    //口味数据list
    private String value;

}
